/**
**********************************************************************
* @file     pixel_operation.h
* @brief    对文件的简要说明
* @details  对文件的详细说明
* @author   jcai
* @date     2022-05-07 09:43:14
* @copyright Copyright &copy; 2022 wy1107412334@163.com All rights reserved
* @version  v0.0.1
*
* \n Email:  wy1107412334@163.com
* \n Blog:   None
* \n Github: https://github.com/wy1107412334
* \n Gitee:  https://gitee.com/git.git1107412334.com
*
**********************************************************************
* @note
* None.
**********************************************************************
* @attention
* None.
**********************************************************************
@verbatim
@endverbatim
**********************************************************************
* @par 历史记录
* 1. v0.0.1: jcai, 2022-05-07 09:43:14
*   - 首次编写
*
*<center>Copyright &copy; 2022 wy1107412334@163.com All rights reserved</center>
**********************************************************************
*/

#ifndef __PIXEL_OPERATION_H__
#define __PIXEL_OPERATION_H__


/* 头文件导入区 --------------------------------------------------- */

#include <SDL/SDL.h>
#include <SDL/SDL_video.h>


#ifdef __cplusplus
extern "C"
{
#endif

/** @addtogroup PIXEL_OPERATION
* @brief pixel_operation modules
* @{
*/


/** @defgroup PIXEL_OPERATION_CompilationDefines pixel_operation compilation defines
* @brief 条件编译定义
* @{
*/



/** defgroup PIXEL_OPERATION_CompilationDefines
* @}
*/


/** @defgroup PIXEL_OPERATION_Input_Interface pixel_operation Input API Interface
* @brief 模块输入API接口。即对外部少量依赖模块的API接口
* @{
*/



/** defgroup PIXEL_OPERATION_Input_Interface
* @}
*/


/** @defgroup PIXEL_OPERATION_Exported_MacroDefines pixel_operation exported macro defines
* @brief 全局宏定义
* @{
*/



/** defgroup PIXEL_OPERATION_Exported_MacroDefines
* @}
*/


/** @defgroup PIXEL_OPERATION_Exported_Types pixel_operation exported types
* @brief 全局数据类型声明
* @{
*/



/** defgroup PIXEL_OPERATION_Exported_Types
* @}
*/






/*********************************************************************
                全局变量声明
*********************************************************************/







/*********************************************************************
                全局函数声明
*********************************************************************/
int setPixel8(SDL_Surface * surface, uint32_t x, uint32_t y, uint8_t color);
int setPixel16(SDL_Surface * surface, uint32_t x, uint32_t y, uint16_t color);
int setPixel24(SDL_Surface * surface, uint32_t x, uint32_t y, uint32_t color);
int setPixel32(SDL_Surface * surface, uint32_t x, uint32_t y, uint32_t color);








/** addtogroup PIXEL_OPERATION
* @}
*/

#ifdef __cplusplus
}
#endif
#endif // __PIXEL_OPERATION_H__


/***  Copyright (C) 2022 wy1107412334@163.com All rights reserved ***/
/****************************** END OF FILE *************************/

